/* 
 * Copyright (C) 2012 Martin Řehánek <rehan at mzk.cz>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

goog.provide('kramerius.audio.AbstractTrack');


/**
 * @constructor 
 * @param {!string} id Unique identifier of the track.
 * @param {!string} title Name of the track.
 * @param {!string} length Length of the track
 */
kramerius.audio.AbstractTrack = function (id, title, length){
    this.id_ = id;
    this.title_ = title;
    this.length_ = length;
}

/**
 * @return {Array.<string>}Array of urls in different format usable by soundmanager.
 */
//kramerius.audio.Track.prototype.trackArray = function(){};


/**
 * @return {string} Unique identifier of this track.
 */
kramerius.audio.AbstractTrack.prototype.getId = function(){
    return this.id_;
};

/**
 * @return {string} Name of this track.
 */
kramerius.audio.AbstractTrack.prototype.getTitle = function(){
    return this.title_;
};


/**
 * @return {string} Length of the track.
 */
kramerius.audio.AbstractTrack.prototype.getLength = function(){
    return this.length_;
};

